﻿''' <summary>
''' Contains a reference to the GameEngine, GameTime and PaintEventArgs used by calls to OnDraw.
''' </summary>
''' <remarks></remarks>
Public Class DrawEventArgs
    Inherits GameEngineEventArgs

    ''' <summary>
    ''' The PaintEventArgs for the current draw buffer.
    ''' </summary>
    ''' <remarks></remarks>
    Public ReadOnly PaintEventArgs As System.Windows.Forms.PaintEventArgs

    Public Sub New(ByVal source As GameEngine, ByVal timeOfEvent As GameTime, ByVal paintArgs As PaintEventArgs)
        MyBase.New(source, timeOfEvent)
        PaintEventArgs = paintArgs
    End Sub
End Class
